/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package helloworld;

import java.util.Scanner;

/**
 *
 * @author idnan
 */
public class Helloworld {

	/**
	 * @param args the command line arguments
	 */

	int a,b,c;
	static Scanner input = new Scanner(System.in);


	public  void Add(){

		Scanner scan = new Scanner(System.in);
		System.out.println("Enter value of a: \n");
		 a = input.nextInt();
		System.out.println("Enter value of b:\n");
		 b = input.nextInt();
		c=a+b;
		System.out.println("The value of c is:"+c);
		
}
	public static void main(String[] args) {
		System.out.println("Hello Mr Tariq");
		Helloworld  h1 = new Helloworld(); 
		h1.Add();
	}
}
